package com.chance.cc.crawler.prod.command.schedule.news.xy78;

import com.chance.cc.crawler.core.CrawlerJob;
import com.chance.cc.crawler.prod.command.job.domain.news.xy78.XY78SearchCrawlerScheduleJob;
import com.chance.cc.crawler.prod.command.job.domain.news.xy78.XY78SiteCrawlerScheduleJob;
import com.chance.cc.crawler.prod.command.schedule.CommonCrawlerJobSchedule;

/**
 * @author lt
 * @version 1.0
 * @date 2021-04-11 17:59:39
 * @email okprog@sina.com
 */
public class XY78CrawlerJobSchedule extends CommonCrawlerJobSchedule {

    public static void main(String[] args) {
        publicCrawlerScheduleJob(XY78SiteCrawlerScheduleJob.crawlerJob());
        publicCrawlerScheduleJob(XY78SearchCrawlerScheduleJob.crawlerJob());
    }

    public static void publicCrawlerScheduleJob(CrawlerJob crawlerJob){
        crawlerJobScheduleCommand_17.republishCrawlerJob(crawlerJob.generateCrawlerTriggerKey(),device_name_3);
    }
}
